The _ssss_rrrr_cccc_hhhh_tttt_xxxx_tttt utility is used to display all the text strings in message
databases, or to search for a text string in message databases [see
_mmmm_kkkk_mmmm_ssss_gggg_ssss(1)]. These databases are files in the directory
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS [see _ssss_eeee_tttt_llll_oooo_cccc_aaaa_llll_eeee(3C)], unless a file
name given with the _----_mmmm option contains a _////. The directory _l_o_c_a_l_e can be
viewed as the name of the language in which the text strings are written.
When the _----_llll option is not used, the _l_o_c_a_l_e directory searched is
specified by the _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS environment variable if it is set to a non-
empty value. Otherwise, it is specified by the environment variable _LLLL_AAAA_NNNN_GGGG
if it is set to a non-empty value. Otherwise, the directory _CCCC is used.
Text strings may contain supplementary code set characters.
If no _t_e_x_t argument is present, then all the text strings in the files
accessed will be displayed.
The meanings of the options are as follows:
_----_ssss suppress printing of the message sequence numbers of the
messages being displayed
_----_llll _l_o_c_a_l_e access files in the directory
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS. If _----_mmmm _m_s_g_f_i_l_e is also
supplied, _l_o_c_a_l_e is ignored for _m_s_g_f_i_l_es containing a _////.
_----_mmmm _m_s_g_f_i_l_e access file(s) specified by one or more _m_s_g_f_i_l_es. If _m_s_g_f_i_l_e
contains a _//// character, then _m_s_g_f_i_l_e _i_s interpreted as a
pathname; otherwise, it will be assumed to be in the
directory determined as described above. To specify more
than one _m_s_g_f_i_l_e, separate the file names using commas.
_----_iiii _m_s_g_n_u_m display only the message whose numeric id equals _m_s_g_n_u_m.
This option should not normally be used with a search text.
_t_e_x_t search for the text string specified by _t_e_x_t and display each
one that matches. _t_e_x_t can take the form of a regular
expression [see _eeee_dddd(1)].
If the _----_ssss option is not specified, the displayed text is prefixed by
message sequence numbers. The message sequence numbers are enclosed in
_m_s_g_n_u_m sequence number in _m_s_g_f_i_l_e where the displayed text occurred
This display is in the format used by _gggg_eeee_tttt_tttt_xxxx_tttt(1) and _gggg_eeee_tttt_tttt_xxxx_tttt(3C).
EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
The following examples show uses of _ssss_rrrr_cccc_hhhh_tttt_xxxx_tttt.
Example 1:
If message files have been installed in a locale named _ffff_rrrr_eeee_nnnn_cccc_hhhh by
using _mmmm_kkkk_mmmm_ssss_gggg_ssss(1), then you could display the entire set of text
strings in the _ffff_rrrr_eeee_nnnn_cccc_hhhh locale (_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_ffff_rrrr_eeee_nnnn_cccc_hhhh_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_****)
If a set of error messages associated with the UNIX operating system
have been installed in the file _UUUU_XXXX in the _ffff_rrrr_eeee_nnnn_cccc_hhhh locale
(_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_ffff_rrrr_eeee_nnnn_cccc_hhhh_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_UUUU_XXXX), then, using the value of
the _LLLL_AAAA_NNNN_GGGG environment variable to determine the locale to be
searched, you could search that file in that locale for all error
If _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_ffff_rrrr_eeee_nnnn_cccc_hhhh_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_UUUU_XXXX contained the following
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_CCCC_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_**** default files created by
_mmmm_kkkk_mmmm_ssss_gggg_ssss(1)
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_**** message files created by